#include "Log.h"


namespace Engine2D
{    
    std::shared_ptr<spdlog::logger> & Log::Instance()
    {
        static Log instance;
        return instance.m_logger;
    }

    int logInit = ([]() {
        Log::Instance() = spdlog::stdout_color_mt("Engine2D");
        Log::Instance()->set_level(spdlog::level::debug);
    }(), 0);
} // namespace Engine2D
